# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=x11docker
pkgver=7.6.0
pkgrel=1
pkgdesc="run GUI applications and desktops in docker. Focus on security"
url="https://github.com/mviereck/x11docker"
arch="noarch"
license="MIT"
install="$pkgname.post-install"
subpackages="$pkgname-doc"
depends="
	bash
	cmd:xclip
	xauth
	xdotool
	xdpyinfo
	xhost
	xinit
	zenity
	"
options="!check" # no tests
source="https://github.com/mviereck/x11docker/archive/v$pkgver/x11docker-$pkgver.tar.gz"

package() {
	install -Dm755 x11docker -t "$pkgdir"/usr/bin
	install -Dm644 x11docker.man "$pkgdir"/usr/share/man/man1/x11docker.1
}

sha512sums="
9cc6f4fb0bb87fed6aa37457278ad79bf3ba603c8c80b3af8a14fb150efffa6687dfad6509cb0f9a38517b550c56a91737892caaed3d62ca776136b5629f3ccc  x11docker-7.6.0.tar.gz
"
